All Packages Class Hierarchy This Package Previous Next Index
Class com.sun.java.swing.ToolTipManager
java.lang.Object
|
+----java.awt.event.MouseAdapter
|
+----com.sun.java.swing.ToolTipManager
- public class ToolTipManager
- extends MouseAdapter
- implements MouseMotionListener
Manages all the ToolTips in the system.
- See Also:
- createToolTip
-
lightWeightPopupEnabled
-
-
getDismissDelay()
-
-
getInitialDelay()
-
-
getReshowDelay()
-
-
isEnabled()
-
-
isLightWeightPopupEnabled()
- Returns true if lightweight (all-Java) Tooltips are in use,
or false if heavyweight (native peer) Tooltips are being used.
-
mouseDragged(MouseEvent)
-
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mouseMoved(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
registerComponent(JComponent)
-
-
setDismissDelay(int)
-
-
setEnabled(boolean)
-
-
setInitialDelay(int)
-
-
setLightWeightPopupEnabled(boolean)
- When displaying the JToolTip, the ToolTipManager choose to use a light weight JPanel if
it fits.
-
setReshowDelay(int)
-
-
sharedInstance()
-
-
unregisterComponent(JComponent)
-
lightWeightPopupEnabled
protected boolean lightWeightPopupEnabled
setEnabled
public void setEnabled(boolean flag)
isEnabled
public boolean isEnabled()
setLightWeightPopupEnabled
public void setLightWeightPopupEnabled(boolean aFlag)
- When displaying the JToolTip, the ToolTipManager choose to use a light weight JPanel if
it fits. This method allows you to disable this feature. You have to do disable
it if your application mixes light weight and heavy weights components.
isLightWeightPopupEnabled
public boolean isLightWeightPopupEnabled()
- Returns true if lightweight (all-Java) Tooltips are in use,
or false if heavyweight (native peer) Tooltips are being used.
- Returns:
- true if lightweight ToolTips are in use
setInitialDelay
public void setInitialDelay(int microSeconds)
getInitialDelay
public int getInitialDelay()
setDismissDelay
public void setDismissDelay(int microSeconds)
getDismissDelay
public int getDismissDelay()
setReshowDelay
public void setReshowDelay(int microSeconds)
getReshowDelay
public int getReshowDelay()
sharedInstance
public static ToolTipManager sharedInstance()
registerComponent
public void registerComponent(JComponent component)
unregisterComponent
public void unregisterComponent(JComponent component)
mouseEntered
public void mouseEntered(MouseEvent event)
- Overrides:
- mouseEntered in class MouseAdapter
mouseExited
public void mouseExited(MouseEvent event)
- Overrides:
- mouseExited in class MouseAdapter
mousePressed
public void mousePressed(MouseEvent event)
- Overrides:
- mousePressed in class MouseAdapter
mouseDragged
public void mouseDragged(MouseEvent event)
mouseMoved
public void mouseMoved(MouseEvent event)
All Packages Class Hierarchy This Package Previous Next Index